package com.typhoon.spring_shiro.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 需要校验数据范围注解
 * 
 * @author Typhoon
 * @date 2017-06-06 10:15
 * @since V2.0
 */
@Target({ ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequireCheckRange {

	/**
	 * permission code
	 * return String
	 */
	String action();
	
	/**
	 * actionRangeType
	 * @return
	 */
	String[] rangeType();
	
}
